﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="Spring.Northwind.Domain.Category, Spring.Northwind.Dao" table="Categories" lazy="false" proxy="Spring.Northwind.Domain.ICategory, Spring.Northwind.Dao">

    <id name="CategoryID" unsaved-value="0">
      <column name="CategoryID" sql-type="int" not-null="true" unique="true" index="PK_Categories"/>
      <generator class="assigned" />
    </id>

    <property name="CategoryName">
      <column name="CategoryName" length="15" sql-type="nvarchar" not-null="false" />
    </property>

    <property name="Description">
      <column name="Description" sql-type="ntext" not-null="false" />
    </property>
    
    <property name="Picture">
      <column name="Picture" sql-type="image" not-null="false" />
    </property>
    
    
  </class>
</hibernate-mapping>
